package com.zelix;

import java.awt.event.*;
import java.util.EventObject;


//            m4, qz

class r extends KeyAdapter  implements ActionListener
{

    private final m4 a;

    r(m4 m4_1)
    {
        a = m4_1;
    }

    public void actionPerformed(ActionEvent actionevent)
    {
label0:
        {
            if(actionevent.getSource() == m4.e(a))
            {
                a.a();
                if(qz.a == 0)
                    break label0;
            }
            if(actionevent.getSource() == m4.f(a))
                a.b();
        }
    }

    public void keyPressed(KeyEvent keyevent)
    {
label0:
        {
            if(keyevent.getKeyCode() != 10)
                break label0;
            if(keyevent.getSource() == m4.e(a))
            {
                a.a();
                if(qz.a == 0)
                    break label0;
            }
            if(keyevent.getSource() == m4.f(a))
                a.b();
        }
    }
}